import { buildService } from '../../helper/service'

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {
  // 获取投标列表数据
  getBidData: {
    url: '/api/v1/resource/invite_join_bid',
    method: 'get'
  },
  //发起投标
  getStartBid: {
    url: '/api/v1/resource/join_bid',
    method: 'put'
  }

}

export default buildService(settings)
